package data;

import java.util.Date;

public class ForumMessage {
	private Integer _id;
	private String _title;
	private String _content;
	private Member _composer;
	private Date _publishDate;
	private Integer _subForumID;
	
	
	public ForumMessage(Integer id, String title, String content, Member composer ,Date date, Integer subForumID) {
		_id = id;
		_title = title;
		_content = content;
		_composer = composer;
		_publishDate=date;
		_subForumID=subForumID;
	}

	public Integer get_id() {
		return _id;
	}
	
	public String get_title() {
		return _title;
	}
	public String get_content() {
		return _content;
	}
	public User get_composer() {
		return _composer;
	}

	public Date get_publishDate() {
		return _publishDate;
	}
	
	public Integer get_subForumID() {
		return _subForumID;
	}

	public void set_title(String title) {
		_title = title;
	}

	public void set_content(String content) {
		_content = content;
	}
	
	
}
